sync pull
Cosense からローカルにページをダウンロードします。
書式
cos sync pull [<title>] [--all] [--dir <path>] --project <name>
フラグ
[<title>] — 対象ページタイトル (--all と排他)
--all — プロジェクト内の全ページを対象
--dir <path> — ローカルディレクトリ (デフォルト: カレントディレクトリ)
--format <fmt> — ファイル形式 (現在 txt のみ)
--dry-run — 実際の書き込みをスキップして確認
使用例
code:bash
# 単一ページを pull
cos sync pull "ページタイトル" --dir ./sync --project myproject
# 全ページを pull
cos sync pull --all --dir ./sync --project myproject
# dry-run で確認してから pull
cos sync pull "ページタイトル" --dir ./sync --project myproject --dry-run
cos sync pull "ページタイトル" --dir ./sync --project myproject
関連ページ